home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppuuuuttttbbbbqqqq((((DDDD3333)))) ppppuuuuttttbbbbqqqq((((DDDD3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- _pppp_uuuu_tttt_bbbb_qqqq - place a message at the head of a queue
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
- _iiii_nnnn_tttt _pppp_uuuu_tttt_bbbb_qqqq_((((_qqqq_uuuu_eeee_uuuu_eeee______tttt _****_q_,,,, _mmmm_bbbb_llll_kkkk______tttt _****_b_p_))))_;;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _q Pointer to the queue.
-
- _b_p Pointer to the message.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _pppp_uuuu_tttt_bbbb_qqqq puts a message back at the head of a queue. If messages of a
- higher priority are on the queue, then _b_p is placed at the head of its
- corresponding priority band. See _ssss_rrrr_vvvv(D2) for more information about
- message priorities.
-
- All flow control parameters are updated. The queue's service routine is
- scheduled if it has not been disabled by a previous call to _nnnn_oooo_eeee_nnnn_aaaa_bbbb_llll_eeee(D3).
-
- RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
- _pppp_uuuu_tttt_bbbb_qqqq returns 1 on success and 0 on failure.
-
- UUUUSSSSAAAAGGGGEEEE
- _pppp_uuuu_tttt_bbbb_qqqq is usually called when _bbbb_cccc_aaaa_nnnn_pppp_uuuu_tttt(D3) or _cccc_aaaa_nnnn_pppp_uuuu_tttt(D3) determines that
- the message cannot be passed on to the next stream component.
-
- _pppp_uuuu_tttt_bbbb_qqqq can fail if there is not enough memory to allocate the accounting
- data structures used with messages whose priority bands are greater than
- zero.
-
- High priority messages should never be put back on a queue from within a
- service routine.
-
- LLLLeeeevvvveeeellll
- Base or Interrupt.
-
- SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
- Does not sleep.
-
- Driver-defined basic locks, read/write locks, and sleep locks may be held
- across calls to this function.
-
- EEEExxxxaaaammmmpppplllleeeessss
- See _bbbb_uuuu_ffff_cccc_aaaa_llll_llll(D3) for an example of _pppp_uuuu_tttt_bbbb_qqqq.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ppppuuuuttttbbbbqqqq((((DDDD3333)))) ppppuuuuttttbbbbqqqq((((DDDD3333))))
-
-
-
- REFERENCES
- _bbbb_cccc_aaaa_nnnn_pppp_uuuu_tttt(D3), _cccc_aaaa_nnnn_pppp_uuuu_tttt(D3), _gggg_eeee_tttt_qqqq(D3), _iiii_nnnn_ssss_qqqq(D3), _mmmm_ssss_gggg_bbbb(D4), _pppp_uuuu_tttt_qqqq(D3),
- _qqqq_uuuu_eeee_uuuu_eeee(D4), _rrrr_mmmm_vvvv_qqqq(D3), _ssss_rrrr_vvvv(D2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-